import {
  mergeStore
} from 'src/common/util'

import * as autoSignBind from './autoSignBind'
import * as normalRepayment from './normalRepayment'
import * as advanceRepayment from './advanceRepayment'
import * as frozenRepayment from './frozenRepayment'
import * as matureRepayment from './matureRepayment'

const index = {
  state: {},
  getters: {},
  actions: {},
  mutations: {}
}

const store = mergeStore(
  autoSignBind,
  normalRepayment,
  advanceRepayment,
  frozenRepayment,
  matureRepayment
)

export default {
  state: store.state,
  getters: store.getters,
  actions: store.actions,
  mutations: store.mutations
}